package one.stand.entity;

import lombok.Data;
import org.springframework.util.StringUtils;

/**
 * @author: ZRH
 * @CreateDate: 2019/4/18 17:00
 */
@Data
public class WxNoticeEntity {

    private String ordersNo;
    private Integer orderState;
    private String remark;
    private String userOpenId;
    private String userFormId;
    private String crmOpenId;
    private String crmFormId;
    private Integer cardId;
    private String createDate;
    private String payDate;
    private String goodsName;
    private Integer payPrice;
    private String refundRemark;
    private String refundNo;
    private Integer refundFee;
    private String refundTime;
    private String receivePhone;
    private String receiveName;
    private String nickeName;
    private String text;
    private String name;
    private Integer dynamicId;
    private Integer money;
    private Integer companyId;
    private Integer userCompanyId;
    private Integer crmCompanyId;

    public String getNickeName() {
        return StringUtils.isEmpty(nickeName)?"":new String(java.util.Base64.getDecoder().decode(nickeName));
    }
}
